const Promise = require('./promise');
let p = new Promise((resolve, reject) => {
  // resolve(1000);
  reject('error10086')
});

// p.then().then().then(data=>{console.log(data);}); //1000 TODO 3.8 值的穿透
p.then().then().then(undefined,err=>{console.log(err);}); //1000 TODO 3.8 值的穿透
